/**
 * Created by Kpeng on 2017/7/3.
 * Depending on the jquery-1.12.4.min.js.
 * Depending on the common.js.
 * Depending on the style.min.css.
 * To cite this document, always state the source as shown above.
 * -------------------------------
 * Module:操作日志
 * -------------------------------
 */

$(function () {
  wzERP.HandleLog.init();
  wzERP.HandleLog.turnPage();
});

wzERP.HandleLog.init = function () {
  wzERP.Common.inlineDate('#date1', '#date2');
  wzERP.Common.checkAllTr('.selecte-all');    //全选
};

//分页跳转
wzERP.HandleLog.turnPage = function () {

  var opt = {
    pageUrl: $("#logPageUrl").val(),
    pageSearch: "#searchForm",
    pagesTotal: parseInt($('#pages').val()),
    pageCurr: parseInt($('#current').val()),
    pageSize: parseInt($('#pageSize').val()),
    currId: "#current"
  };
  wzERP.Common.pagingHandle(opt);
};